const nodemailer = require('nodemailer');

let transporter = nodemailer.createTransport({
    service: 'qq',// 运营商选择
    port: 465,
    secure: true, // true for 465, false for other ports
    auth: {
        user: "2366060971@qq.com", // 发送方的邮箱
        pass: 'ieevkehlknanebie' //   pop3 授权码
    }
});

let mail = {
    transporter:transporter
};

module.exports=mail;


